import { requestType } from '~/config/enum.config'

const SERVICE = 'domain-service'
const CONTROLLER = 'nameListEliminateStrategyController'

export default {
  /**
   * 根据账户号查询账户信息
   */
  findCaseInfoByCaseNumber: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findCaseInfoByCaseNumber',
    type: requestType.Get
  },
  /**
   * 根据客户号查询账户信息集合
   */
  findCaseInfoByCustomerNo: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findCaseInfoByCustomerNo',
    type: requestType.Get
  },
  /**
   * 查询出一条名单剔除策略，用作查看或编辑
   */
  findNameListEliminateStrategyById: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findNameListEliminateStrategyById',
    type: requestType.Get
  },
  /**
   * 查询实体ID策略审批记录
   */
  findNameListEliminateStrategyRecordHistory: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'findNameListEliminateStrategyRecordHistory',
    type: requestType.Get
  },
  /**
   * 查询名单剔除
   */
  getNameListEliminateStrategyList: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'getNameListEliminateStrategyList',
    type: requestType.Get
  },
  /**
   * 查询名单剔除策略修改日志
   */
  getNameListEliminateStrategyLogList: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'getNameListEliminateStrategyLogList',
    type: requestType.Get
  },
  /**
   * 保存名单策略
   */
  saveNameListEliminateStrategy: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'saveNameListEliminateStrategy',
    type: requestType.Post
  },
  /**
   * 下载剔除模板
   */
  downLoadNameListEliminateTemplate: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'downLoadNameListEliminateTemplate',
    type: requestType.Get
  },
  /**
   * 上传名单剔除
   */
  importNameListEliminate: {
    service: SERVICE,
    controller: CONTROLLER,
    action: 'importNameListEliminate',
    type: requestType.Get
  },
}